<%@ Page  Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="cHead" ContentPlaceHolderID="cphHead" runat="server">
    <% this.Page.Title = (string)ViewData["PageTitle"]; %>
</asp:Content>

<asp:Content ID="cMainContent" ContentPlaceHolderID="cphMainContent" runat="server">
    <div id="convoc">
        <div class="errorContent"><span><%= ViewData["ErrorMessage"]%></span></div>
    </div>
</asp:Content>

<asp:Content ID="cAdminMenu" ContentPlaceHolderID="cphAdminMenu" runat="server">
    <% if (ViewData["UserType"] != null && (UserType)ViewData["UserType"] != UserType.User) {  %>
    <ul id="adminMenu">
        <li class="create"><%= Html.ActionLink(ScoutNET.Resources.Galerie_Index_CreateLink, "Create", new { controller = "Galerie", systemName = (string)ViewData["SystemName"] })%></li>
    </ul>
    <% } %>
</asp:Content>
